<?php

include "common.php";

try {
	foreach ($_GET as $key => $value) {
		$gets = $key;
	}
	$sp = explode("-", $key, 2);
	$sp[0] = intval($sp[0]);
	if(count($sp)!=2) die("error");
	$sql = "SELECT * FROM `state` WHERE `jiaoxuelou_id`= ? AND `date` = ?  ";
	echo pdoJson($sql, $sp);
} catch(Exception $e) {
	die("error");
}


?>
